.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.guide-header {
    text-align: center;
    margin-bottom: 3rem;
}

.guide-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.guide-header p {
    color: #666;
    font-size: 1.1rem;
}

.guide-section {
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    margin-bottom: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.guide-section:nth-child(even) {
    background-color: #ffffff;
}

.guide-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}
.dashboard-card {
    @apply bg-white rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow duration-300;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    opacity: 0;
    transition: opacity 0.3s;
}

.dashboard-card:hover::before {
    opacity: 1;
}

.stat-value {
    @apply text-3xl font-bold;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chart-container {
    @apply rounded-lg p-1;
    background: linear-gradient(145deg, #ffffff, #f3f4f6);
}

.suggestion-card {
    @apply p-4 rounded-lg transition-all duration-300;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e5e7eb;
}

.suggestion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 添加动画类 */
.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
.dashboard-card {
    @apply bg-white rounded-xl p-6 shadow-sm hover:shadow-md transition-all duration-300;
    position: relative;
    overflow: hidden;
}

/* 添加鼠标悬停效果 */
.dashboard-card.cursor-pointer:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

/* 添加点击效果 */
.dashboard-card.cursor-pointer:active {
    transform: translateY(0px);
}
.dashboard-card {
    @apply bg-white rounded-lg p-6 shadow-sm relative;
}

/* 鼠标悬停效果 */
.dashboard-card.cursor-pointer:hover {
    @apply shadow-md;
}

/* 数字样式统一 */
.text-3xl {
    @apply font-bold;
}

/* 主要文字颜色统一 */
.text-primary {
    color: #3B82F6;
}
/* 模态窗口样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            overflow: auto;
        }

        .modal-content {
            position: relative;
            background-color: #fff;
            margin: 10% auto;
            padding: 30px;
            width: 80%;
            max-width: 600px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: modalFadeIn 0.3s;
        }

        .close-button {
            position: absolute;
            top: 15px;
            right: 20px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.2s;
        }

        .close-button:hover {
            color: #333;
        }

        @keyframes modalFadeIn {
            from {opacity: 0; transform: translateY(-20px);}
            to {opacity: 1; transform: translateY(0);}
        }
        /* 新的模态窗口样式 */
        .user-modal-content {
            background: linear-gradient(145deg, #ffffff, #f5f7ff);
            border-radius: 20px;
            padding: 30px;
            max-width: 400px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            border: none;
        }

        .user-profile-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }

        .user-avatar {
            width: 100px;
            height: 100px;
            margin: 0 auto 15px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid #3454d1;
            box-shadow: 0 5px 15px rgba(52, 84, 209, 0.2);
        }

        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .user-details {
            padding: 0 10px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            margin: 20px 0;
            padding: 15px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease;
        }

        .detail-item:hover {
            transform: translateX(5px);
        }

        .detail-icon {
            width: 40px;
            height: 40px;
            background: #f0f4ff;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: #3454d1;
            font-size: 1.2em;
        }

        .detail-info {
            flex: 1;
        }

        .detail-info label {
            display: block;
            font-size: 0.9em;
            color: #666;
            margin-bottom: 4px;
        }

        .detail-info span {
            display: block;
            color: #333;
            font-size: 1.1em;
            font-weight: 500;
        }

        .close-button {
            position: absolute;
            right: 20px;
            top: 20px;
            font-size: 24px;
            color: #666;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .close-button:hover {
            color: #3454d1;
        }

        /* 添加动画效果 */
        @keyframes slideIn {
            from {
                transform: translateY(-20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-content {
            animation: slideIn 0.3s ease-out;
        }

        /* 退出按钮样式 */
        .logout-section {
            margin-top: 30px;
            text-align: center;
            padding-top: 20px;
            border-top: 2px solid #f0f0f0;
        }

        .logout-btn {
            background-color: #ff4d4f;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1em;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 0 auto;
            transition: all 0.3s ease;
        }

        .logout-btn:hover {
            background-color: #ff7875;
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(255, 77, 79, 0.2);
        }

        .logout-btn i {
            font-size: 1.1em;
        }

        /* 消息提示样式 */
        .message-toast {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(-100%);
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            z-index: 2000;
            transition: transform 0.3s ease;
        }

        .message-toast.show {
            transform: translateX(-50%) translateY(0);
        }

        /* Hero Section 样式 */
        .hero-title {
            font-size: 3.5em;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .main-title {
            white-space: nowrap;  /* 防止文字换行 */
            display: block;  /* 确保标题独占一行 */
        }

        .highlight {
            display: block;
            color: #3454d1;
            font-size: 0.7em;
            margin-top: 10px;  /* 增加与主标题的间距 */
        }

        .hero-description {
            font-size: 1.2em;
            line-height: 1.6;
            color: #666;
            margin-bottom: 30px;
        }

        .desc-line {
            display: block;
            white-space: nowrap;  /* 防止文字换行 */
            margin-bottom: 10px;  /* 两行之间的间距 */
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            margin-top: 40px;
        }

        .primary-btn, .secondary-btn {
            padding: 15px 30px;
            border-radius: 30px;
            font-size: 1.1em;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
        }

        .primary-btn {
            background: #3454d1;
            color: white;
            border: none;
        }

        .secondary-btn {
            background: white;
            color: #3454d1;
            border: 2px solid #3454d1;
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .float-item {
            position: absolute;
            background: white;
            padding: 15px 25px;
            border-radius: 20px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 10px;
            animation: float 3s ease-in-out infinite;
            animation-delay: var(--delay);
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
/* 加载动画 */
#total-count[data-loading="true"],
#monthly-count[data-loading="true"] {
    color: #ccc;
    position: relative;
}

#total-count[data-loading="true"]::after,
#monthly-count[data-loading="true"]::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ddd;
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* 加载动画 */
.loading-dots::after {
  content: '.';
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60% { content: '...'; }
  80%, 100% { content: ''; }
}

/* 排名特效 */
.text-purple-600 {
  text-shadow: 0 0 5px rgba(168, 85, 247, 0.5);
}

.fa-trophy {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
/* 时间轴样式 */
.vis-timeline {
  border: none;
  background: transparent;
}

.vis-item {
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vis-item.positive {
  background-color: #10b981;
}

.vis-item.negative {
  background-color: #ef4444;
}

.timeline-item {
  padding: 4px 8px;
  color: white;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.timeline-item .score {
  font-weight: bold;
  font-size: 14px;
}

/* 雷达图提示样式 */
.dimension-tooltip {
  position: absolute;
  background: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  max-width: 300px;
  border: 1px solid #e5e7eb;
}

/* 响应式调整 */
@media (max-width: 768px) {
  #score-detail-modal {
    padding: 0;
  }

  #score-detail-modal .modal-container {
    border-radius: 0;
    height: 100vh;
  }

  .flex-col-on-mobile {
    flex-direction: column;
  }
}
/* 更醒目的关闭按钮 */
#close-modal {
  background: rgba(255,255,255,0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#close-modal:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-container {
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
  padding: 20px;
  background: #3b82f6;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.score-overview {
  padding: 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.total-score-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.score-display {
  text-align: center;
  padding: 15px 25px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.score {
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
}

.dimension-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}

.card-header {
  padding: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.diff {
  font-weight: bold;
}

.diff.positive {
  color: #10b981;
}

.diff.negative {
  color: #ef4444;
}

.chart-container {
  height: 300px;
  padding: 20px;
}

.suggestion-item {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.suggestion-item.critical {
  background: #fff1f2;

/* 总分对比样式 */
.total-score-comparison {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px 0;
}

.version-score {
  text-align: center;
}

.score-box {
  font-size: 2.5rem;
  font-weight: bold;
  padding: 15px 25px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.score-box.higher {
  background: #3b82f6;
  color: white;
}

.comparison-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diff-badge {
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
}

.diff-badge.positive {
  background: #10b981;
  color: white;
}

.diff-badge.negative {
  background: #ef4444;
  color: white;
}

/* 维度卡片样式 */
.dimension-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.dimension-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.card-header i {
  color: #3b82f6;
}

.card-body {
  display: flex;
  align-items: center;
  gap: 15px;
}

.score {
  font-size: 1.8rem;
  font-weight: bold;
  min-width: 40px;
  text-align: center;
}

.progress-bar {
  flex-grow: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  position: relative;
}

.progress-fill {
  position: absolute;
  height: 100%;
  border-radius: 4px;
}

.progress-fill:first-child {
  background: #3b82f6;
  z-index: 2;
}

.progress-fill:last-child {
  background: #94a3b8;
}

.diff-indicator {
  font-size: 0.9rem;
  white-space: nowrap;
}

.diff-indicator.positive {
  color: #10b981;
}

.diff-indicator.negative {
  color: #ef4444;
}

/* 改进建议样式 */
.suggestions-list {
  margin-top: 20px;
}

.suggestion-item {
  display: flex;
  gap: 10px;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #f8fafc;
}

.suggestion-item.critical {
  background: #fff1f2;
  border-left: 4px solid #ef4444;
}

.priority-marker {
  background: #3b82f6;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

/* 弹窗动画 */
#score-detail-modal {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#score-detail-modal:not(.hidden) {
  opacity: 1;
}

/* 弹窗内容动画 */
.modal-content {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 雷达图容器 */
#radar-chart {
  width: 100% !important;
  height: 100% !important;
}

/* 维度卡片悬停效果 */
.dimension-card {
  transition: all 0.2s ease;
}

.dimension-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 改进建议卡片 */
.suggestion-item {
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.suggestion-item.critical {
  border-left-color: #ef4444;
}

/* 滚动条样式 */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* 响应式调整 */
@media (max-width: 640px) {
  #score-detail-modal {
    padding: 0;
  }

  #score-detail-modal > div {
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
  }
}
/* 分数对比容器 */
#total-score-comparison {
  min-width: 300px;
  padding: 1rem;
  background-color: #f8fafc;
  border-radius: 0.5rem;
}

/* 分数数字样式 */
.score-display {
  font-weight: 700;
  line-height: 1;
}

/* 对比箭头动画 */
.fa-arrow-up, .fa-arrow-down {
  transition: transform 0.2s ease;
}

.fa-arrow-up {
  color: #10b981; /* 绿色 */
}

.fa-arrow-down {
  color: #ef4444; /* 红色 */
}

/* 响应式调整 */
@media (max-width: 640px) {
  #total-score-comparison {
    flex-direction: column;
    align-items: stretch;
  }

  .comparison-center {
    margin: 1rem 0;
  }
}
/* 分数卡片样式 */
.score-card-trigger {
  transition: all 0.3s ease;
  position: relative;
}

/* 悬浮效果 */
.score-card-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 工具提示样式 */
.score-card-trigger::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.score-card-trigger:hover::after {
  opacity: 1;
  margin-bottom: 5px;
}
  .score-card-trigger {
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .score-card-trigger:hover {
    border-color: #3b82f6; /* 蓝色边框 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }

  .score-card-trigger::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: pre-line;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    width: max-content;
    max-width: 300px;
  }

  .score-card-trigger:hover::after {
    opacity: 1;
    margin-bottom: 8px;
  }